#ifndef __PWM_H
#define __PWM_H

#include "stm32f10x.h"
#include "stdint.h"  

void PWM_Init(void);                 
void PWM_SetCompare1(uint16_t Compare);
void PWM_SetBreathFreq(uint8_t TargetFreq); 
uint8_t PWM_GetCurrentFreq(void);     
uint16_t PWM_GetCurrentARR(void);     
void PWM_Breath_Loop(void);          

#endif
